package blog.service;

import blog.pojo.NoticeCategory;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface NoticeCategoryService {

    Page<NoticeCategory> getPage(Page<NoticeCategory> page, NoticeCategory noticeCategory, String keywords) throws Exception;

    Boolean insert(NoticeCategory noticeCategory) throws Exception;

    Boolean update(NoticeCategory noticeCategory) throws Exception;

    NoticeCategory get(NoticeCategory noticeCategory) throws Exception;

    List<NoticeCategory> getAll() throws Exception;

    NoticeCategory selectById(Integer id) throws Exception;
}
